package Models;

import java.io.Serializable;

public class POSSupplyView implements Serializable {
	private static final long serialVersionUID = 1372948247259672046L;
	
	private int supplyID;
	private String supplyName;
	private double resalePrice;
	private boolean resaleable;
	private String supplyUnits;
	private int supplyWearhouseID;
	private boolean taxExempt;
	private double supplyPrice;
	
	public int getSupplyID() {
		return supplyID;
	}
	public void setSupplyID(int supplyID) {
		this.supplyID = supplyID;
	}
	
	public String getSupplyName() {
		return supplyName;
	}
	public void setSupplyName(String supplyName) {
		this.supplyName = supplyName;
	}
	
	public double getResalePrice() {
		return resalePrice;
	}
	public void setResalePrice(double resalePrice) {
		this.resalePrice = resalePrice;
	}
	
	public boolean isResaleable() {
		return resaleable;
	}
	public void setResaleable(boolean resaleable) {
		this.resaleable = resaleable;
	}
	
	public String getSupplyUnits() {
		return supplyUnits;
	}
	public void setSupplyUnits(String supplyUnits) {
		this.supplyUnits = supplyUnits;
	}
	
	public int getSupplyWearhouseID() {
		return supplyWearhouseID;
	}
	public void setSupplyWearhouseID(int supplyWearhouseID) {
		this.supplyWearhouseID = supplyWearhouseID;
	}
	
	public boolean isTaxExempt() {
		return taxExempt;
	}
	public void setTaxExempt(boolean taxExempt) {
		this.taxExempt = taxExempt;
	}
	
	public double getSupplyPrice() {
		return supplyPrice;
	}
	public void setSupplyPrice(double supplyPrice) {
		this.supplyPrice = supplyPrice;
	}
	
	public String getDisplayString(){
		return this.supplyName + " - " + Integer.toString(this.supplyID);
	}

}
